CC=gcc
CCFLAGS=-g
APPNAME=app_simple
OBJS = \
       simple.o

all : $(OBJS)
	$(CC) $(CCFLAGS) $(OBJS) -o $(APPNAME)

.PHONY : all

clean :
	rm -rf *.o $(APPNAME)

.PHONY : clean

%.o : %.c
	$(CC) $(CCFLAGS) -c $< -o $@
